<template>
  <div class="zi">
    <input type="text" v-model="text">
  </div>
</template>

<script>
export default {
  data(){
    return{
      text:'我是子组件的值'
    }
  }
}
</script>

<style scoped>
  input{
    border: 1px solid black;
  }
</style>